package top.yueyazhui.mailserver.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import top.yueyazhui.vhr.model.MailSendConstant;

@Configuration
public class RabbitMQConfig {

    @Bean
    public Queue queue() {
        return new Queue(MailSendConstant.MAIL_QUEUE_NAME);
    }
}
